package com.huluobo.high3videoproject.mvp.video.presenter;

import com.huluobo.high3videoproject.bean.VideoBeanResult;

import io.reactivex.Observable;

public interface VideoContract {
    interface Model {
        Observable<VideoBeanResult> getVideoList(int page, int size);
    }

    interface Presenter {
        void getVideoList(int page, int size);
    }

    interface View {
        void onGetVideoListSuccess(VideoBeanResult videoBeanResult);

        void onGetVideoListFailed(String error);
    }
}
